<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        <div class="layui-form-item">
            <label class="layui-form-label">字段</label>
            <div class="layui-input-block">
                <input type="text" name="fieldname" class="layui-input" lay-verify="required" lay-reqtext="请输入字段" placeholder="请输入字段" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">说明</label>
            <div class="layui-input-block">
                <input type="text" name="info" class="layui-input" lay-verify="required" lay-reqtext="真实说明" placeholder="真实说明" value="">
            </div>
        </div>

   

       
        <div class="layui-form-item">
            <label class="layui-form-label">数据类型</label>
            <div class="layui-input-block">
                <select name="datatype">
                    {foreach $datatype as $k=>$vo}
                    <option value="{$k}" >{$vo|raw}</option>
                    {/foreach}
                </select>
            </div>
        </div>
      
        
        <div class="layui-form-item">
            <label class="layui-form-label">默认值</label>
            <div class="layui-input-block">
                <input type="text" name="default" class="layui-input" lay-reqtext="请输入默认值" placeholder="请输入默认值" value="">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否必填</label>
            <div class="layui-input-block">
                <input type="radio" name="ismust" lay-skin="primary" title="否" value="0" checked>
                <input type="radio" name="ismust" lay-skin="primary" title="是" value="1" >
            </div>
        </div>
        <input type="hidden" name="hash" value="{$hash}" >
        <input type="hidden" name="type" value="{$type}" >
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>